namespace TaskKernel.Domain.Services.Role
{
    public class RoleInDepartment : IRoleService
    {
        private readonly Account _account;
        private readonly Department _department;

        public RoleInDepartment(Department department, Account account)
        {
            _department = department;
            _account = account;
        }

        #region IRoleService Members

        public RoleEnum GetRole()
        {
            return _department.GetRole(_account);
        }

        #endregion
    }
}